package com.renting.common.entity;

import javax.persistence.MappedSuperclass;


/**
 * 图片
 */
@MappedSuperclass
public class Image extends BaseEntity {

    String visitUrl;//可访问的路径
    String suffix;//后缀
    String originName;//原始名称
    String serverUrl;//服务器存储的相对路径

    public Image() {
    }

    public String getVisitUrl() {
        return visitUrl;
    }

    public void setVisitUrl(String visitUrl) {
        this.visitUrl = visitUrl;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public String getOriginName() {
        return originName;
    }

    public void setOriginName(String originName) {
        this.originName = originName;
    }

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }
}
